/**
  @file
  @author Stefan Frings
*/

#pragma once

#include "src/QtWebApp/templateengine/templatecache.h"
#include "src/QtWebApp/httpserver/httpsessionstore.h"
#include "src/QtWebApp/httpserver/staticfilecontroller.h"
#include "src/QtWebApp/httpserver/httplistener.h"
#include "netlistenerrequesthander.h"
#include "src/netclientjob.h"

#include <QObject>
#include <QCoreApplication>
#include <QDir>

using namespace stefanfrings;

class NetListenerJob : public QObject
{
    Q_OBJECT
public:
    explicit NetListenerJob(NetClientJob *clientJob, QObject *parent = nullptr);
    ~NetListenerJob();

private:
    NetClientJob *m_clientJob;
    TemplateCache *m_templateCache;
    HttpSessionStore *m_sessionStore;
    StaticFileController *m_staticFileController;
};
